<?php

header('Content-Type: text/plain; charset=UTF-8');

$dir = dirname(__FILE__).DIRECTORY_SEPARATOR.'photos';

foreach (scandir($dir) as $file) {
    $file_path = $dir.DIRECTORY_SEPARATOR.$file;
    if (is_file($file_path)) {
        //echo iconv('Windows-1251', 'UTF-8', $file).' ('.date('Y-m-d H:i:s', filemtime($file_path)).")\n";
        echo touch($file_path, $t = strtotime('2008-05-06 00:00:00'), $t).")\n";
        //print_r(exif_read_data($file_path));
    }
}

?>